import gtk
from logger.logger import Logger


#TODO: remove all sandbox code
#sandbox imports starts here
from presentation.services.get_desklet_window_service import GetDeskletWindowService
#sandbox imports end here


logger = Logger.get_instance()
class Main:
    def __init__(self, args=None):
        # sandbox code starts here
        
        s = GetDeskletWindowService()
        s.run()
        r = s.get_result()
        r.show()
        
        #sandbox code end here
        
    def start(self):
        logger.info('its alive!!')
        gtk.main()
    